// router.js

import { createRouter, createWebHistory } from "vue-router";

const routes = [
  {
    path: '/',
    component:()=> import('@/components/Index')
  },
  {
    path: '/arrow',
    component:()=> import('@/components/Arrow')
  },
  {
    path: '/common',
    component:()=> import('@/components/Common.vue')
  },
  {
    path: '/demo',
    component:()=> import('@/components/Demo.vue')
  },
  {
    path: '/example',
    component:()=> import('@/components/Example.vue')
  },
  {
    path: '/graph',
    component:()=> import('@/components/Graph.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router